body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: white;
  background-color: rgb(20, 20, 20);
  box-sizing: border-box;
  overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent; /* Entfernt den blauen Tap-Effekt auf mobilen Geräten */
}

nav{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 66px;
  margin-top: 20px;
}

nav a{
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover{
  transform: scale(1.1);
}

/* Team Section */
.AboutUberschrift {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
  font-size: 2em;
  color: #e84c43;
  text-align: center;
}

.AboutUberschrift span{
	color: white;
}

.team-member {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 20px;
  border-radius: 15px;
  margin: 0 10%;
  flex-wrap: wrap;
}

.team-member .text {
  flex: 1;
  max-width: 100%;
  word-break: normal;
    white-space: normal;
}

.team-member h2 {
  text-align: center;
  max-width: 100%;
  font-size: 1.8em;
  color: #e84c43;
  margin-bottom: 15px;
}

.team-member h4 {
  margin-top: 20px;
  font-size: 1.2em;
  color: #e84c43;
}

.team-member p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #ddd;
}

.member-image {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 50%;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
      flex-wrap: wrap;
      gap: 20px;
  }

  nav a {
      font-size: 18px;
  }

  .team-member {
      flex-direction: column;
      text-align: center;
  }

  .member-image {
      width: 250px;
      height: 250px;
  }
}

@media (max-width: 480px) {
  nav a {
      font-size: 16px;
      margin: 10px 0;
  }

  .team-member {
      padding: 10px;
  }

  .member-image {
      width: 200px;
      height: 200px;
  }
}
